//
//  PKBaseWebView.swift
//  Panku
//
//  Created by mac on 2017/2/10.
//  Copyright © 2017年 Monster. All rights reserved.
//

import UIKit

class PKBaseWebView: UIWebView {
    
    init() {
        super.init(frame: CGRect.zero)
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    public func loadURL(urlString:String){
        let url = URL(string: urlString)
        let request = URLRequest(url: url!)
        loadRequest(request)
    }

}
